[TOOL] Sahara & Firehose Test (Alcatel Flasher oncoming ...)

Do you try this app?

  • Yes, all works fine.

    Votes: 36 65.5%
  • Yes, but have some bugs ... (need report)

    Votes: 8 14.5%
  • No.

    Votes: 11 20.0%

  • Total voters
    55
Search This thread

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
Let me introduce some new tool for you. This is my first practice in learning and understanding "How to work with Sahara & Firehose?" and as an owner of Alcatel Idol 3 4.7" firsts test of this app were made on my Idol 3 6039Y. What is this?

Working name of this app - Sahara & Firehose test. In the future it should become a full-featured Alcatel Flasher with full-flash or individual partition flashing feature and some other usefull features. Now it can:
  • Determine and enumerates all COM ports in a system.
  • Interact with your device and load a Firehose programmer via Sahara protocol.
  • Reading and parsing GPT partition table of device.
  • Reading device information such as IMEI, Provider ID, and S/N.
  • Reading selected partition from device (in this version only two partition is supported: boot & recovery). In other words you can make backup of any (for now only these two) partition of your device.
  • Support Alcatel Idol 3 4.7 "6039 and Alcatel Idol 3 5.5" 6045, and Alcatel Idol 4 5.2" 6055.
  • Partition writing support (since 07.09.2016 builds). For example, you can write TWRP recovery on the phone. Small how to is available here.

Small Instruction (or how to test app)

1. Install Alcatel (Qualcomm) Drivers on your PC. Better way to do it is to install official Mobile Uprgrade application from Alcatel's Support. It should install all needed drivers automatically.
2. Turn your phone in Download Mode. To do this simply connect your phone to PC via USB-cable and hold both Volume buttons and Power button until Download Mode screen (see in attachment) appears. When it appears - press Volume up button to enter download mode.
3. Check your device manager, if you succefully completed two previous steps COM port with name "Qualcomm HS-USB QDLoader 9008" should appears. Start Sahara & Firehose test app and press 1. Detect button. In drop-down list you should see this COM-port. If app haven't find any 9008 ports check that the all needed drivers installed or simply repeat steps 1-2.
4. Press 2. NPRG button to upload Firehose Programmer to your phone. Make sure that you select correct device model before do this. If NPRG succefully loaded you should see something like this in log window:
Code:
02.09.2016 21:45:03: Start Download NPRG ....
02.09.2016 21:45:03: offset[0],len[52]
02.09.2016 21:45:03: offset[52],len[96]
02.09.2016 21:45:03: offset[4096],len[4096]
02.09.2016 21:45:03: offset[8192],len[2440]
02.09.2016 21:45:03: offset[12288],len[4096]
02.09.2016 21:45:03: offset[16384],len[4096]
02.09.2016 21:45:03: offset[20480],len[4096]
02.09.2016 21:45:03: offset[24576],len[4096]
02.09.2016 21:45:03: offset[28672],len[4096]
02.09.2016 21:45:03: offset[32768],len[4096]
02.09.2016 21:45:03: offset[36864],len[4096]
02.09.2016 21:45:03: offset[40960],len[4096]
02.09.2016 21:45:03: offset[45056],len[4096]
02.09.2016 21:45:03: offset[49152],len[4096]
02.09.2016 21:45:03: offset[53248],len[4096]
02.09.2016 21:45:03: offset[57344],len[4096]
02.09.2016 21:45:03: offset[61440],len[4096]
02.09.2016 21:45:03: offset[65536],len[4096]
02.09.2016 21:45:03: offset[69632],len[4096]
02.09.2016 21:45:03: offset[73728],len[4096]
02.09.2016 21:45:03: offset[77824],len[4096]
02.09.2016 21:45:03: offset[81920],len[4096]
02.09.2016 21:45:03: offset[86016],len[4096]
02.09.2016 21:45:03: offset[90112],len[4096]
02.09.2016 21:45:03: offset[94208],len[4096]
02.09.2016 21:45:03: offset[98304],len[4096]
02.09.2016 21:45:03: offset[102400],len[4096]
02.09.2016 21:45:03: offset[106496],len[3044]
02.09.2016 21:45:03: SAHARA_END_IMAGE_TX_ID received

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*

02.09.2016 21:45:04: Send done command

0000: 06 00 00 00 0C 00 00 00 00 00 00 00              *............    *
5. Press 3. Get GPT button to read GPT information from phone. If GPT table is filled as on screen in attachment - all is Ok and now your ready to test other functions. Get Info or partition read. To read partition simply check the checkbox on needed partition and choose a filename to save. Remind that in first version of this app you can read only boot & recovery partition.

Official Project URL: http://www.decker.su/2016/08/sahara-firehose-test-qualcomm.html (it's in russian, but you can use Google Translate to translate it to english)
Link to download: Alcatel_Flasher.rar
Archive password: decker.su

p.s. If you interesting in this project deveplopment - you can post any comments, ideas, opinions, results of test in this thread, or as a comments on Project URL page. Unfortunatelly i haven't more free time to work on this project and work on it just on my interest when i have free time from main work and my family. Because of these reasons i don't know when i finished work on next build. Now i'm working on partition write functionality ... In future this app possibly can be more universal, i mean that flasher can work not only Alcatel devices, but can be universal tool for some Qualcomm based phones, like a SP Flash Tool for Mediatek.

Latest version
You can download the latest version of Sahara & Firehose Test App on the link above.

NB! Before you do any writings to a phone - strongly recommended to make a backup of existing partitions. If in backup (reading) process you get some errors or application hangs, or other unexpected things - you shouldn't write anything to phone. If backup is succeded - you can try write feature. If something goes wrong and in such reasons you was damaged any partition on phone - use the Mobile Upgrade Q to restore phone to a factory state.

Will be grateful for any feedback ...

Project is temporarily (?) closed. Why? Answer is here.

Updated 08.06.2017 17:25 (GMT+3)
Was launched a small crowdfunding campaign to support the developement. Main targets: add Idol 4S 6070 support, build TWRP Recovery for 6070. Detailed description of campaign available in this post.

WBR, DeckerSU.
 

Attachments

  • alcatel_flasher_04.jpg
    alcatel_flasher_04.jpg
    133.3 KB · Views: 10,842
  • downoad_mode.jpg
    downoad_mode.jpg
    85 KB · Views: 10,553
Last edited:
G

GuestK00183

Guest
Let me introduce some new tool for you. This is my first practice in learning and understanding "How to work with Sahara & Firehose?" and as an owner of Alcatel Idol 3 4.7" firsts test of this app were made on my Idol 3 6039Y. What is this?

Working name of this app - Sahara & Firehose test. In the future it should become a full-featured Alcatel Flasher with full-flash or individual partition flashing feature and some other usefull features. Now it can:
  • Determine and enumerates all COM ports in a system.
  • Interact with your device and load a Firehose programmer via Sahara protocol.
  • Reading and parsing GPT partition table of device.
  • Reading device information such as IMEI, Provider ID, and S/N.
  • Reading selected partition from device (in this version only two partition is supported: boot & recovery). In other words you can make backup of any (for now only this two) partition of your device.
  • Support Alcatel Idol 3 4.7 "6039 and Alcatel Idol 3 5.5" 6045.

Small Instruction (or how to test app)

1. Install Alcatel (Qualcomm) Drivers on your PC. Better way to do it is to install official Mobile Uprgrade application from Alcatel's Support. It should install all needed drivers automatically.
2. Turn your phone in Download Mode. To do this simply connect your phone to PC via USB-cable and hold both Volume buttons and Power button until Download Mode screen (see in attachment) appears. When it appears - press Volume up button to enter download mode.
3. Check your device manager, if you succefully completed two previous steps COM port with name "Qualcomm HS-USB QDLoader 9008" should appears. Start Sahara & Firehose test app and press 1. Detect button. In drop-down list you should see this COM-port. If app haven't find any 9008 ports check that the all needed drivers installed or simply repeat steps 1-2.
4. Press 2. NPRG button to upload Firehose Programmer to your phone. Make sure that you select correct device model before do this. If NPRG succefully loaded you should see something like this in log window:
Code:
02.09.2016 21:45:03: Start Download NPRG ....
02.09.2016 21:45:03: offset[0],len[52]
02.09.2016 21:45:03: offset[52],len[96]
02.09.2016 21:45:03: offset[4096],len[4096]
02.09.2016 21:45:03: offset[8192],len[2440]
02.09.2016 21:45:03: offset[12288],len[4096]
02.09.2016 21:45:03: offset[16384],len[4096]
02.09.2016 21:45:03: offset[20480],len[4096]
02.09.2016 21:45:03: offset[24576],len[4096]
02.09.2016 21:45:03: offset[28672],len[4096]
02.09.2016 21:45:03: offset[32768],len[4096]
02.09.2016 21:45:03: offset[36864],len[4096]
02.09.2016 21:45:03: offset[40960],len[4096]
02.09.2016 21:45:03: offset[45056],len[4096]
02.09.2016 21:45:03: offset[49152],len[4096]
02.09.2016 21:45:03: offset[53248],len[4096]
02.09.2016 21:45:03: offset[57344],len[4096]
02.09.2016 21:45:03: offset[61440],len[4096]
02.09.2016 21:45:03: offset[65536],len[4096]
02.09.2016 21:45:03: offset[69632],len[4096]
02.09.2016 21:45:03: offset[73728],len[4096]
02.09.2016 21:45:03: offset[77824],len[4096]
02.09.2016 21:45:03: offset[81920],len[4096]
02.09.2016 21:45:03: offset[86016],len[4096]
02.09.2016 21:45:03: offset[90112],len[4096]
02.09.2016 21:45:03: offset[94208],len[4096]
02.09.2016 21:45:03: offset[98304],len[4096]
02.09.2016 21:45:03: offset[102400],len[4096]
02.09.2016 21:45:03: offset[106496],len[3044]
02.09.2016 21:45:03: SAHARA_END_IMAGE_TX_ID received

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*

02.09.2016 21:45:04: Send done command

0000: 06 00 00 00 0C 00 00 00 00 00 00 00              *............    *
5. Press 3. Get GPT button to read GPT information from phone. If GPT table is filled as on screen in attachment - all is Ok and now your ready to test other functions. Get Info or partition read. To read partition simply check the checkbox on needed partition and choose a filename to save. Remind that in first version of this app you can read only boot & recovery partition.

Official Project URL: http://www.decker.su/2016/08/sahara-firehose-test-qualcomm.html (it's in russian, but you can use Google Translate to translate it to english)
Link to download: Alcatel_Flasher.rar
Archive password: decker.su

p.s. If you interesting in this project deveplopment - you can post any comments, ideas, opinions, results of test in this thread, or as a comments on Project URL page. Unfortunatelly i haven't more free time to work on this project and work on it just on my interest when i have free time from main work and my family. Because of these reasons i don't know when i finished work on next build. Now i'm working on partition write functionality ... In future this app possibly can be more universal, i mean that flasher can work not only Alcatel devices, but can be universal tool for some Qualcomm based phones, like a SP Flash Tool for Mediatek.

Will be grateful for any feedback ...
Good Job ?

Sent from my 6045Y using Tapatalk
 

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
Wow ! It will be nice for flashing twrp.img on stock 6.0.1 ;)
Yep, when all work is completed it can be used to flash not only custom recovery, but any partition. For example, a lot ot users of 6039Y was displeased Android 6.0.1 Marshmallow update. With this tool they can flash Android 5.0.2 image or any custom ROM. But now need some testers to check exising functions: reading GPT, handset info and making backup of boot & recovery partitions. If somebody wanna help project development - test existing function on your phone and make a small report here (work or not, any bugs and difficulties, etc). It's absolutelly safely to your device, because no any writings to device in this version, only reading existing info. So, will be great to see some tester's reports here ...
 
  • Like
Reactions: 918Davis

murigny64

Senior Member
Apr 17, 2012
716
350
REIMS
Yep, when all work is completed it can be used to flash not only custom recovery, but any partition. For example, a lot ot users of 6039Y was displeased Android 6.0.1 Marshmallow update. With this tool they can flash Android 5.0.2 image or any custom ROM. But now need some testers to check exising functions: reading GPT, handset info and making backup of boot & recovery partitions. If somebody wanna help project development - test existing function on your phone and make a small report here (work or not, any bugs and difficulties, etc). It's absolutelly safely to your device, because no any writings to device in this version, only reading existing info. So, will be great to see some tester's reports here ...

i'll try it soon

Backup of partition is active?
 

bouldou

Senior Member
Jan 1, 2012
71
19
hello, nice job !
Could you make a tutorial about going back to TWRP and LL ROM, on the 6039 ? I updated to stock MM and I'm stuck now...
Thanks a lot
 

murigny64

Senior Member
Apr 17, 2012
716
350
REIMS
Yes, you can now backup boot and recovery partition.

Fail to download NPRG:

Code:
05/09/2016 17:44:50: Trying to open port COM30 ...
05/09/2016 17:44:50: Port COM30 succefully opened.
05/09/2016 17:44:51: Bytes read: 0

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*

05/09/2016 17:44:51: Failed to Download NPRG, Please reset the handset and try again.

I've tried 3 times (reset and reconnect) and same result.

6045Y with 6.0.1 (full rom with twrp)
 

murigny64

Senior Member
Apr 17, 2012
716
350
REIMS
How Sahara & Firehose test determine COM30 on your PC? Qualcomm HS-USB QDLoader 9008 or some other? Make sure that other programs that possibly can interact with COM-ports are not running at this moment (i mean - Mobile Upgrade, any 3G/4G modem dashboards and others).

sans_t10.jpg


I apply "detect", my HS-USB Qloader is on COM30 (verified) and no other app running.
 

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
I apply "detect", my HS-USB Qloader is on COM30 (verified) and no other app running.
Strange. Can you try to do the same test on other PC? Also, can you delete current drivers and ugrade / reinstall it from here? To reinstall drivers just unpack the archive Qualcomm USB Drivers For Windows.7z , find COM30 in your device manager and choose "Update ...", than select the unpacked folder as drivers source (don't forget to check [x] Look in subfolders).
 

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
Same result: driver updated, reboot and retry
and no other PC with windows
Let's wait for results from other testers with 6045Y ... I have around 5 success stories about 6039Y (except mine), and 1 success and 2 fail reports (included yours) about 6045Y. If you find possibility to try it on other PC with same phone - it would be helpfull.
 

murigny64

Senior Member
Apr 17, 2012
716
350
REIMS
Let's wait for results from other testers with 6045Y ... I have around 5 success stories about 6039Y (except mine), and 1 success and 2 fail reports (included yours) about 6045Y. If you find possibility to try it on other PC with same phone - it would be helpfull.

Ok, work with my daughter PC ;) on w10

can read GPT, Info.
but can't read recovery and boot (i've selected this lines), message: Error process "boot", empty filename"
EDIT: oups, i missing enter a filename for backup ! so, now, it work for backup

nice for now

EDIT: On my PC, i disable USB3 controler and now, it work

thanks :)
 
Last edited:

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
Ok, work with my daughter PC ;) on w10
nice for now
Nice to hear. But, before release next build of app with flashing partitioning functional we should fix all possible (and impossible too ;) errors in interacting with a COM-port. Which OS is installed on your previous PC? Win XP / 7 / 8 / 8.1 ? x86 or x64? Are you sure that on this PC you haven't installed any software (or serivces) that possibly can interact with a COM-port too? Situation you described above strongly resembles that after you connect phone in download mode some other app tries to read some packets from COM port and this is the reason why Sahara and Firehose app fails to load programmer.

Today i was taken 6045Y from my mates on a hour and test all by myself (Win 8.1 Pro x64), here is a small video that demonstates all the process:
Sahara & Firehose Test. Demonstration on Alcatel OT-6045Y.

2All: You can use this video as a small "video guide" to test the app.
 
Last edited:

murigny64

Senior Member
Apr 17, 2012
716
350
REIMS
Nice to here. But, before release next build of app with flashing partitioning functional we should fix all possible (and impossible too ;) errors in interacting with a COM-port. Which OS is installed on your previous PC? Win XP / 7 / 8 / 8.1 ? x86 or x64? Are you sure that on this PC you haven't installed any software (or serivces) that possibly can interact with a COM-port too? Situation you described above strongly resembles that after you connect phone in download mode some other app tries to read some packets from COM port and this is the reason why Sahara and Firehose app fails to load programmer.

Today i was taken 6045Y from my mates on a hour and test all by myself (Win 8.1 Pro x64), here is a small video that demonstates all the process:
Sahara & Firehose Test. Demonstration on Alcatel OT-6045Y.

2All: You can use this video as a small "video guide" to test the app.

My PC is I3 4320 w8.1 pro x64 , but now it work if i disable (in bios) USB3 controller (ETRON USB3.0 controller). So all ports are USB2 now.
My daughter HandBook core I5 4440 is W10 with USB3 enable and it work.

For usefull interface, can you enlarge windows (to see full partition lines) ? and add import GPT ?
 

pablog_86

Senior Member
Oct 10, 2012
174
49
Hi, before asking if it should work on any other variant than "Y" I've tried it by myself on a 6039A and had the following results:
  • Detect device: OK
  • Read NPRG: OK
  • Get GPT: OK
  • Get device info: OK
  • Read/Backup boot or recovery partition: NOK

Code:
05/09/2016 20:00:55: Trying to open port COM6 ...
05/09/2016 20:00:55: Port COM6 succefully opened.
05/09/2016 20:00:55: Bytes read: 48

0000: 01 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00  *....0...........*
0010: 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*


0000: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00  *....0...........*
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*

05/09/2016 20:00:55: Bytes written: 48
05/09/2016 20:00:55: Bytes read: 20

0000: 03 00 00 00 14 00 00 00 0D 00 00 00 00 00 00 00  *................*
0010: 34 00 00 00                                      *4...            *

05/09/2016 20:00:55: Start Download NPRG ....
05/09/2016 20:00:55: offset[0],len[52]
05/09/2016 20:00:55: offset[52],len[96]
05/09/2016 20:00:55: offset[4096],len[4096]
05/09/2016 20:00:55: offset[8192],len[2440]
05/09/2016 20:00:55: offset[12288],len[4096]
05/09/2016 20:00:55: offset[16384],len[4096]
05/09/2016 20:00:55: offset[20480],len[4096]
05/09/2016 20:00:55: offset[24576],len[4096]
05/09/2016 20:00:55: offset[28672],len[4096]
05/09/2016 20:00:55: offset[32768],len[4096]
05/09/2016 20:00:55: offset[36864],len[4096]
05/09/2016 20:00:55: offset[40960],len[4096]
05/09/2016 20:00:55: offset[45056],len[4096]
05/09/2016 20:00:55: offset[49152],len[4096]
05/09/2016 20:00:55: offset[53248],len[4096]
05/09/2016 20:00:55: offset[57344],len[4096]
05/09/2016 20:00:55: offset[61440],len[4096]
05/09/2016 20:00:55: offset[65536],len[4096]
05/09/2016 20:00:55: offset[69632],len[4096]
05/09/2016 20:00:55: offset[73728],len[4096]
05/09/2016 20:00:55: offset[77824],len[4096]
05/09/2016 20:00:55: offset[81920],len[4096]
05/09/2016 20:00:55: offset[86016],len[4096]
05/09/2016 20:00:55: offset[90112],len[4096]
05/09/2016 20:00:55: offset[94208],len[4096]
05/09/2016 20:00:55: offset[98304],len[4096]
05/09/2016 20:00:55: offset[102400],len[4096]
05/09/2016 20:00:55: offset[106496],len[3044]
05/09/2016 20:00:55: SAHARA_END_IMAGE_TX_ID received

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*

05/09/2016 20:00:56: Send done command

0000: 06 00 00 00 0C 00 00 00 00 00 00 00              *............    *

05/09/2016 20:01:00: Trying to open port COM6 ...
05/09/2016 20:01:00: Port COM6 succefully opened.

05/09/2016 20:01:00: Bytes read: 494
XML[0] = <?xml version="1.0" encoding="UTF-8" ?><data><log value="[email protected] [email protected]" /></data>
05/09/2016 20:01:00: [email protected] [email protected]
XML[1] = <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" MinVersionSupported="1" MemoryName="eMMC" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="8192" MaxPayloadSizeToTargetInBytesSupported="16384" MaxXMLSizeInBytes="4096" Version="1" TargetName="8916" /></data>
XML[2] = <?xml version="1.0" encoding="UTF-8" ?><data><log value="[email protected] [email protected]" /></data>
05/09/2016 20:01:01: [email protected] [email protected]
05/09/2016 20:01:02: Bytes read: 0

05/09/2016 20:01:02: Bytes read: 396
XML[0] = <?xml version="1.0" encoding="UTF-8" ?><data><log value="[email protected] [email protected]" /></data>
05/09/2016 20:01:02: [email protected] [email protected]
XML[1] = <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" MinVersionSupported="1" MemoryName="eMMC" MaxPayloadSizeFromTargetInBytes="4096" MaxPayloadSizeToTargetInBytes="16384" MaxPayloadSizeToTargetInBytesSupported="16384" MaxXMLSizeInBytes="4096" Version="1" TargetName="8916" /></data>

05/09/2016 20:01:02: Reading GPT ...
05/09/2016 20:01:02: Bytes read: 16384
05/09/2016 20:01:02: Bytes read: 1024
05/09/2016 20:01:02: Bytes read: 185
XML[0] = <?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 0" /></data>
05/09/2016 20:01:02: Finished sector address 0
XML[1] = <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" rawmode="false" /></data>

05/09/2016 20:01:02: [+] Primary GPT header
05/09/2016 20:01:02: [-] Signature: EFI PART
05/09/2016 20:01:02: [-] Revision: 65536
05/09/2016 20:01:02: [-] Header Size: 92
05/09/2016 20:01:02: [-] CRC32 of header: 0x53EF1BAE
05/09/2016 20:01:02: [-] Current LBA: 1
05/09/2016 20:01:02: [-] Backup LBA: 30535679
05/09/2016 20:01:02: [-] First usable LBA for partitions: 34
05/09/2016 20:01:02: [-] Last usable LBA for partitions: 30535646
05/09/2016 20:01:02: [-] Disk GUID: {98101B32-BBE2-4BF2-A06E-2BB33D000C20}
05/09/2016 20:01:02: [-] Partition entries starting LBA: 2
05/09/2016 20:01:02: [-] Number of partition entries: 40
05/09/2016 20:01:02: [-] Size of partition entry: 128
05/09/2016 20:01:02: [-] CRC32 of partition array: 0xC36E06BE

05/09/2016 20:01:08: Reading handset information ... 
05/09/2016 20:01:08: Trying to open port COM6 ...
05/09/2016 20:01:08: Port COM6 succefully opened.
05/09/2016 20:01:08: Bytes read: 185
XML[0] = <?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 0" /></data>
05/09/2016 20:01:08: Finished sector address 0
XML[1] = <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" rawmode="false" /></data>

IMEI     : 014368002608563
Model    : 6039A-AAAVAR7
SN       : NWKK01CCTIY00PB

The thing is that after I select any partition (boot or recovery) the tool hangs and, after some minutes, I have to force close it.
If I go to the selected backup folder I can find a 16 Kbytes img file (16.384 bytes).

So, the first question is, is the intention to make it work on any other 6039 variant?

Thanks.

PS.
Windows 7 x86.
Drivers installed from MU 5.0
 

DeckerSU

Senior Member
Jan 10, 2014
138
219
www.decker.su
So, the first question is, is the intention to make it work on any other 6039 variant?
Yes, this app designed to be universal, so, in future it should work with all 6039 variants. Now i'm trying determine cause and fix this errors. Similar situation have another one user with 6045Y.

p.s. Could you test app in two variants: same PC with other phone and same phone with other PC and post report here?
p.p.s. New build from 06.09.2016 available. Download the latest version before make any tests.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Let me introduce some new tool for you. This is my first practice in learning and understanding "How to work with Sahara & Firehose?" and as an owner of Alcatel Idol 3 4.7" firsts test of this app were made on my Idol 3 6039Y. What is this?

    Working name of this app - Sahara & Firehose test. In the future it should become a full-featured Alcatel Flasher with full-flash or individual partition flashing feature and some other usefull features. Now it can:
    • Determine and enumerates all COM ports in a system.
    • Interact with your device and load a Firehose programmer via Sahara protocol.
    • Reading and parsing GPT partition table of device.
    • Reading device information such as IMEI, Provider ID, and S/N.
    • Reading selected partition from device (in this version only two partition is supported: boot & recovery). In other words you can make backup of any (for now only these two) partition of your device.
    • Support Alcatel Idol 3 4.7 "6039 and Alcatel Idol 3 5.5" 6045, and Alcatel Idol 4 5.2" 6055.
    • Partition writing support (since 07.09.2016 builds). For example, you can write TWRP recovery on the phone. Small how to is available here.

    Small Instruction (or how to test app)

    1. Install Alcatel (Qualcomm) Drivers on your PC. Better way to do it is to install official Mobile Uprgrade application from Alcatel's Support. It should install all needed drivers automatically.
    2. Turn your phone in Download Mode. To do this simply connect your phone to PC via USB-cable and hold both Volume buttons and Power button until Download Mode screen (see in attachment) appears. When it appears - press Volume up button to enter download mode.
    3. Check your device manager, if you succefully completed two previous steps COM port with name "Qualcomm HS-USB QDLoader 9008" should appears. Start Sahara & Firehose test app and press 1. Detect button. In drop-down list you should see this COM-port. If app haven't find any 9008 ports check that the all needed drivers installed or simply repeat steps 1-2.
    4. Press 2. NPRG button to upload Firehose Programmer to your phone. Make sure that you select correct device model before do this. If NPRG succefully loaded you should see something like this in log window:
    Code:
    02.09.2016 21:45:03: Start Download NPRG ....
    02.09.2016 21:45:03: offset[0],len[52]
    02.09.2016 21:45:03: offset[52],len[96]
    02.09.2016 21:45:03: offset[4096],len[4096]
    02.09.2016 21:45:03: offset[8192],len[2440]
    02.09.2016 21:45:03: offset[12288],len[4096]
    02.09.2016 21:45:03: offset[16384],len[4096]
    02.09.2016 21:45:03: offset[20480],len[4096]
    02.09.2016 21:45:03: offset[24576],len[4096]
    02.09.2016 21:45:03: offset[28672],len[4096]
    02.09.2016 21:45:03: offset[32768],len[4096]
    02.09.2016 21:45:03: offset[36864],len[4096]
    02.09.2016 21:45:03: offset[40960],len[4096]
    02.09.2016 21:45:03: offset[45056],len[4096]
    02.09.2016 21:45:03: offset[49152],len[4096]
    02.09.2016 21:45:03: offset[53248],len[4096]
    02.09.2016 21:45:03: offset[57344],len[4096]
    02.09.2016 21:45:03: offset[61440],len[4096]
    02.09.2016 21:45:03: offset[65536],len[4096]
    02.09.2016 21:45:03: offset[69632],len[4096]
    02.09.2016 21:45:03: offset[73728],len[4096]
    02.09.2016 21:45:03: offset[77824],len[4096]
    02.09.2016 21:45:03: offset[81920],len[4096]
    02.09.2016 21:45:03: offset[86016],len[4096]
    02.09.2016 21:45:03: offset[90112],len[4096]
    02.09.2016 21:45:03: offset[94208],len[4096]
    02.09.2016 21:45:03: offset[98304],len[4096]
    02.09.2016 21:45:03: offset[102400],len[4096]
    02.09.2016 21:45:03: offset[106496],len[3044]
    02.09.2016 21:45:03: SAHARA_END_IMAGE_TX_ID received
    
    0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  *................*
    
    02.09.2016 21:45:04: Send done command
    
    0000: 06 00 00 00 0C 00 00 00 00 00 00 00              *............    *
    5. Press 3. Get GPT button to read GPT information from phone. If GPT table is filled as on screen in attachment - all is Ok and now your ready to test other functions. Get Info or partition read. To read partition simply check the checkbox on needed partition and choose a filename to save. Remind that in first version of this app you can read only boot & recovery partition.

    Official Project URL: http://www.decker.su/2016/08/sahara-firehose-test-qualcomm.html (it's in russian, but you can use Google Translate to translate it to english)
    Link to download: Alcatel_Flasher.rar
    Archive password: decker.su

    p.s. If you interesting in this project deveplopment - you can post any comments, ideas, opinions, results of test in this thread, or as a comments on Project URL page. Unfortunatelly i haven't more free time to work on this project and work on it just on my interest when i have free time from main work and my family. Because of these reasons i don't know when i finished work on next build. Now i'm working on partition write functionality ... In future this app possibly can be more universal, i mean that flasher can work not only Alcatel devices, but can be universal tool for some Qualcomm based phones, like a SP Flash Tool for Mediatek.

    Latest version
    You can download the latest version of Sahara & Firehose Test App on the link above.

    NB! Before you do any writings to a phone - strongly recommended to make a backup of existing partitions. If in backup (reading) process you get some errors or application hangs, or other unexpected things - you shouldn't write anything to phone. If backup is succeded - you can try write feature. If something goes wrong and in such reasons you was damaged any partition on phone - use the Mobile Upgrade Q to restore phone to a factory state.

    Will be grateful for any feedback ...

    Project is temporarily (?) closed. Why? Answer is here.

    Updated 08.06.2017 17:25 (GMT+3)
    Was launched a small crowdfunding campaign to support the developement. Main targets: add Idol 4S 6070 support, build TWRP Recovery for 6070. Detailed description of campaign available in this post.

    WBR, DeckerSU.
    10
    Congratulations to all with the release of the long-awaited build with Alcatel Idol 4 6055 support enabled, starting with the release of 10/23/2016, this device is fully supported:
    alcatel_flasher_04.jpg

    Unfortunately, due to the low interest of users and the lack of project support I am forced to suspend all work on it. Some statistics: over than 1,000 people have downloaded the utility and only 5 (five from thousand) of them was supported the project. Totally project collected only 60 USD, which is not enough to buy other devices and continue this work. Furthermore, i was received in PM few messages like "why i must suffer, you must release it today", "why you wanna donate, if u wanna money - find a job as a programmer or something like this" ... Attitude like this kill all the motivation to continue this work in me. May be in future i will return to this project, but now is temporarily closed. Users make their own choice, nobody need it, nobody wanna support.

    For all users who wants TWRP recovery image for Idol 4 6055, here is it: twrp_recovery_idol4_6055.img.

    WBR, DeckerSU.
    6
    First build with writing partitions support is available! Redownload the app.

    NB! Before you do any writings to a phone - strongly recommended to make a backup of existing partitions. If in backup (reading) process you get some errors or application hangs, or other unexpected things - you shouldn't write anything to phone. If backup is succeded - you can try write feature.

    For example, instruction to flash TWRP recovery:

    1. Download TWRP recovery image for your phone model from other threads on this forum. Unpack it.
    2. Download latest Sahara & Firehose test app from the link in the first post of this thread.
    3. Switch your phone to download mode, download NPRG to it and read GPT.
    4. Select recovery partition and set a filename for backup. Press Read button.
    5. If backup was successed, select your TWRP recovery image as a file for recovery partition and press Write button.

    p.s. If something goes wrong and in such reasons you was damaged any partition on phone - use the Mobile Upgrade Q to restore phone to a factory state.
    2
    Links are offline :( Is this tool still relevant to unlock bootloader and flash a cfw on alcatel idol 3?

    I'm not allowed to post link so :
    mega.nz/#!R2ZTQCyS!AzLa5reMt2MnBnfLrfPJq17Pz5cao6t1bqbUA8HMtVM
    pass : decker.su
    1
    Wow ! It will be nice for flashing twrp.img on stock 6.0.1 ;)
    Yep, when all work is completed it can be used to flash not only custom recovery, but any partition. For example, a lot ot users of 6039Y was displeased Android 6.0.1 Marshmallow update. With this tool they can flash Android 5.0.2 image or any custom ROM. But now need some testers to check exising functions: reading GPT, handset info and making backup of boot & recovery partitions. If somebody wanna help project development - test existing function on your phone and make a small report here (work or not, any bugs and difficulties, etc). It's absolutelly safely to your device, because no any writings to device in this version, only reading existing info. So, will be great to see some tester's reports here ...
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