[FLASHER][LINUX] Heimdall Flasher SGSIII/SGNII

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
153
HEIMDALL FLASHER SGSIII/SGNII SUPPORT!!!



HEIMDALL FLASHER - it's a smart tool for flash Firmware in LINUX
I'll show how to flash SGSIII in UBUNTU



supported Devices
Samsung Galaxy SIII GT-I9300, I9305
Samsung Galaxy NoteII GT-N7100, N7105
Samsung Galaxy Note10.1-N8000

(Instructions and menu)
PUSH THE BUTTON


* Before use.

Make sure that all the files have executable permissions tool.
Place the firmware files in the folder "FLASH" or place the zip file with the firmware to the root of the instrument

* Menu options.

0 - Configure tools - need to do this once, it will compile and install the components in the system

Flash Menu

1 - Extract ROM - will extract the firmware files to the folder "FLASH" and display the report on file (zip file must be located in the root of the tool)
2 - Download mod - Reboot your device in flashing mode (must be enabled debugging USB)
3 - Heimdall detect device - show connection status
4 - STANDART - flash the standard firmware (the files are shown in parentheses)
5 - FULL - full flash firmware with bootloader (the files are shown in parentheses)
6 - MODEM - flash the radio (the files are shown in parentheses)
7 - KERNEL - flash the kernel (the files are shown in parentheses)
8 - RECOVERY - flash rekaveri (the files are shown in parentheses)
9 - Download PIT file - extract the file from the device PIT

Root Menu (Root access is required)

10 - DOWNGRADE BOOTLOADER - downgrade bootloader (Requires ROOT and should be included debugging USB)
11 - EFS backup - save the image section efs (the image will be saved in the root of the tool)
12 - EFS restore - restore partition efs (image must be in the root of the tool)
13 - Exit - exit



So:

1. Unpack archive and run script Heimdall_Flasher (unpack package of ROM .tar.md5 into folder FLASH)

2. Configure tools - (need only first time, it's will compile and install necessary components on your PC)

3. Download Mode - reboot device into Flash mode

4. Heimdall detect device - it's will show status of connect and images for flash

5. Choose flash option - after flash device will reboot

6. Exit - Enjoy

7. v.0.0.2 Added option Download PIT - Conect device, choose option 2 (Download mode), after this option 9 (download PIT file), Input any smart name of created PIT and push Enter



HEIMDALL FLASHER v.0.0.5

v.0.0.4 - added item DOWNGRADE BOOTLOADER
v.0.0.5 - added item Extract ROM
- Item added backup / restore efs


DOWNLOAD HEIMDALL FLASHER v.0.0.5





Credits:
Special thanx and very respect
Benjamin Dobell for Heimdall 1.4 Release Candidate 2 sources
Odia - for Downgradw bootloader
 

Attachments

Last edited:

plasmadragon007

Senior Member
Nov 13, 2009
142
8
0
33
Cape Coral, Florida
I am on ubuntu 12.04 and downloaded your program and everything works except when i get to the command

Heimdall SGSIII/SGNII Flasher v.0.0.2
============================================================
Connect your device into PC in debug mode, and choose option

1 - Configure tools
2 - Download mode
3 - Heimdall detect device
4 - Flash ROM (need: boot.img, recovery.img, system.img, cache.img, hidden.img, modem.bin)
5 - Flash CSC (need: cache.img hidden.img)
6 - Flash MODEM (need: modem.bin)
7 - Flash KERNEL (need: boot.img)
8 - Flash RECOVERY (need: recovery.img)
9 - Download PIT file
10 - Exit

Enter option: 8
Warning Flash! Do not turn off target!!
total 7572
-rw-rw-r-- 1 joe joe 7751680 Dec 8 20:24 cwm6-recovery-n7100-121014.tar
./tools/Flash_RECOVERY: line 7: heimdall: command not found

any help is appreaciated, guess the nexus line has spoiled me haha
 

Tos69400

Senior Member
May 14, 2009
232
31
0
Lyon
I am on Debian Wheezy and your tool work with my N7000.
But like Heimdall 1.3.1, i can't flash bootloader :
Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...
Session begun.

Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "BOOT" does not exist in the specified PIT.
Ending session...
.

And i don't understand why when i wan't to flash, the script automatically download pit ???
 

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
153
I am on Debian Wheezy and your tool work with my N7000.
But like Heimdall 1.3.1, i can't flash bootloader :
Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...
Session begun.

Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "BOOT" does not exist in the specified PIT.
Ending session...
.

And i don't understand why when i wan't to flash, the script automatically download pit ???
HEIMDALL_FLASHER SGNI SGSII
Use this...
 

Attachments

Last edited:

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
153
OK when i have more time i can test your new one.But can you tell me what's the diffrence with your thread here : http://forum.xda-developers.com/showthread.php?p=33074572#post33074572

Thanks for your work.
difference in the name of partitions

SGNII
Code:
heimdall detect --verbose
sudo heimdall flash --BOOT boot.img --RECOVERY recovery.img --SYSTEM system.img --CACHE cache.img --HIDDEN hidden.img --RADIO modem.bin
SGNI
Code:
heimdall detect --verbose
sudo heimdall flash --KERNEL zImage --FACTORYFS factoryfs.img --CACHE cache.img --HIDDEN hidden.img --MODEM modem.bin
 
Last edited:
  • Like
Reactions: alexyuh

Tos69400

Senior Member
May 14, 2009
232
31
0
Lyon
The problem is the same with the old and the new version :
Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...
Session begun.

Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "BOOT" does not exist in the specified PIT.
Ending session...
.

I have read the script and i can't understand why it automatically download the pit from phone and i don't now where is it (to remove him).
Like heimdall 1.3.1, i can't flash bootloader.
 

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
153
The problem is the same with the old and the new version :
Code:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...
Session begun.

Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "BOOT" does not exist in the specified PIT.
Ending session...
.

I have read the script and i can't understand why it automatically download the pit from phone and i don't now where is it (to remove him).
Like heimdall 1.3.1, i can't flash bootloader.

Sorry, I test it, you can't flash boot.bin from N7000, heimdall does not see it...




 

Attachments

Last edited:
  • Like
Reactions: alexyuh

Tos69400

Senior Member
May 14, 2009
232
31
0
Lyon
I have a second desktop with odinPC. Can you tell me what xan i do with it in order to help BenjaminDobell to make heimdall compatible with n7000 and boot partition ?

Envoyé depuis mon N7000
 

F_R_I_T_Z

Senior Member
Jan 14, 2008
297
20
38
i'm curious.
The s3 and note 2 stock roms have a lot of extras packages.
simg2img.img
sboot.bin
tz.img

What are they?

And being specific the NOTE2 N71000. Then I try to flash the modem heimdal give me the answer of no partition found.

Any light?

thanks
 

A.S._id

Inactive Recognized Developer
Sep 21, 2010
1,211
2,574
153
I have a second desktop with odinPC. Can you tell me what xan i do with it in order to help BenjaminDobell to make heimdall compatible with n7000 and boot partition ?

Envoyé depuis mon N7000
For flash N7000 boot.bin, you can to use ver.1.3.2, it is can see all partitions of SGNI...
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone