[marmite] Wileyfox unbrick

JavaVOBIS

Senior Member
Jan 30, 2017
79
35
28
Software
QPST
Drivers. If you have the latest version of windows 10,the system will install it.
Factory images


Unbrick
DISABLE MANDATORY DRIVER SINGNATURE VERIFICATION.
You don't need to do this on windows 10 with latest updates
1. Unpack factory images to C:\marmite
2. Install QPST and run QFIL
3. Select build type to "Flat build"
4. Click to "browse" and choose "prog_emmc_firehose_x50_signed_lite.mbn"
5. Click to "Load XML" and choose "rawprogram0_unsparse",next "patch0"
6. Turn off marmite and press "+","-" and "power"
7. Connect device to pc
8. Open device menager. The phone should be defined as "Qualcomm HS-USB QDLoader 9008"
9. Press download
10. Waiting finish and turn on smartphone


I don't know English perfectly,so please correct me in PM ,if you noticed any mistake in this post!
 
Last edited:

SM91337

New member
Jun 26, 2015
4
0
0
Worked perfectly

Just want to say thanks for posting this, you literally saved my phone, like an idiot I decided to try and relock the bootloader after installing a custom rom, little did I know that was a very bad idea.

I followed this unbrick guide and now everything is working perfectly again.

Thanks a lot :)
 

oli_h_73

Member
Nov 1, 2017
14
1
0
Great advice, thanks

You've saved me £150, thanks. I also re-locked the bootloader after installing Lineage (in the hope it would allow Andorid Pay to start). Thanks
 

Ogunefon

New member
Dec 22, 2017
3
0
0
QFIL
yadi.sk/d/CJUMJ9fR3MC4p5

Drivers
yadi.sk/d/R933qOAp3MC4xF

ROM
https:// mega.nz/#!hTZGgZKY!Gmh-nLKdy3WwQE0yGfNJqSU49Xl2TtzCFFC6F8mDBQM

DISABLE MANDATORY DRIVER SINGNATURE VERIFICATION
1. Unpack ROM to C:\marmite
2. Install QPST and run QFIL
3. Select build type to "Flat build"
4. Click to "browse" and choose "prog_emmc_firehose_x50_signed_lite.mbn"
5. Click to "Load XML" and choose "rawprogram0_unsparse",next "patch0"
6. Turn off marmite and press "+","-" and "power"
7. Connect device to pc
8. Open device menager. The phone should be defined as "Qualcomm HS-USB QDLoader 9008"
9. Press download
10. Waiting finish and turn on smartphone
I have a Wileyfox Swift 2x and everything ran just fine until the very end when it threw up the following error:
Can this rom be used in the Swift 2x? I will be grateful for a steer - thanks.

File: C:\marmite\NON-HLOS.bin
PROGRAM: Written Bytes 0x3ffc600 (64)
Program Size: 63.99 MB
Total Size: 2944.12 MB
Total Size: 224 Seconds
Throughput: 13.14 MB/Seconds
PATCH: Partition 0, Sector: 13, Offset 424 Bytes, Size: 8 Bytes, Value: NUM_DISK_SECTORS-34.
PATCH: Fail Code: 10
Patch unsuccessful, aborting
Download Fail:System.Exception: Failed to Upload the emmc images to the phone using Firehose.

at QC.QMSLPhone.Phone.QPHONEMS_UploadEmmcImages_FireHose(String rawprogramfile1, String patchfile1, String rawprogramfile2, String patchfile2, String rawprogramfile3, String patchfile3, String rawprogramfile4, String patchfile4, String rawprogramfile5, String patchfile5, String rawprogramfile6, String patchfile6, String rawprogramfile7, String patchfile7, String rawprogramfile8, String patchfile8, String rawprogramfile9, String patchfile9, String rawprogramfile10, String patchfile10, Single& imageSizeInMB, Single& throughput, Int32 NumberOfFiles)

at QC.SwDownloadDLL.SwDownload.FireHoseDownloadImage(Boolean bResetPhone, List`1 rawprogramFilesList, List`1 patchFilesList, Single& fImageSizeInMB, Single& fThroughput)
Download Fail:FireHose Fail FireHose Fail
Finish Download
 

Ogunefon

New member
Dec 22, 2017
3
0
0
Ogunefon, Your imei in place?
Please download the firmware again with a new link.
Hi JavaVOBIS, Thanks for replying to my message - much appreciated.
It looks like I now have a different set of challenges. The new rom did not work and the old rom is no longer downloading to the phone too in spite of the previous error :( !

I have pasted the last bit of the log file below in case you spot something that I'm doing wrong - Thanks.

17:49:06: DEBUG: XML FILE (104 bytes): CharsInBuffer=294-104=190
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?><data><log value="Write failed Sector 131072, Errno 14" /></data>
-------------------------------------------------------------------------------------------

17:49:06: INFO: TARGET SAID: 'Write failed Sector 131072, Errno 14'
17:49:06: DEBUG: XML FILE (98 bytes): CharsInBuffer=190-98=92
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?><data><log value="Finished sector address 131072" /></data>
-------------------------------------------------------------------------------------------

17:49:06: INFO: TARGET SAID: 'Finished sector address 131072'
17:49:06: DEBUG: XML FILE (92 bytes): CharsInBuffer=92-92=0
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?><data><response value="NAK" rawmode="false" /></data>
-------------------------------------------------------------------------------------------

17:49:06: DEBUG: Response was 'NAK'


_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|


17:49:06: {ERROR: handleProgram:8816 Please see log



 

JavaVOBIS

Senior Member
Jan 30, 2017
79
35
28
Ogunefon, can you go to the bootloader?
If so, try installing the firmware via fastboot.
Also I suggest you continue to talk in private messages.
 

JavaVOBIS

Senior Member
Jan 30, 2017
79
35
28
No, Windows 7 ultimate.I dual boot linux but cant get the wifi to work, been a wip for months!!! just tried qfil, sahara server error, directory name is invalid.
Try installing the firmware TOS118C or any version of Cyanogen OS. Through fastboot it should work out.
 

pinckston

Member
Feb 25, 2016
49
7
0
Try installing the firmware TOS118C or any version of Cyanogen OS. Through fastboot it should work out.
Sorry, should have posted a full update. I've managed to boot lineage 13, resurrection, and miui - all have no loudspeaker output! Thhink its gonna take a factory flash to sort it, only got it on the 23rd and it looped that same day during ota but i know speaker worked then. Just tried qfil as a stand alone and got a sahara server error, gonna downgrade qfil and try latest qpst to see if it helps.any other ideas would be most welcome!!!

Edit: it's fixed!! qfil worked with version 2.7.460 of qpst, back to stock and with sound! Many thanks to you all!!
 
Last edited:

Lex_Michdeandroid

Senior Member
Dec 3, 2011
282
46
28
I tried this, all works until I get a few fails:

17:24:08: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
17:24:08: ERROR: function: sahara_main:924 Sahara protocol error
17:24:08: ERROR: function: main:303 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:process fail
Finish Download
What's next?

-edit- After changing the usb driver back to the fastboot one and reflashing recovery it finally booted twrp. Now tried to flash bootloader and after that lineageos14.1 and it is booting... Got lots of errors, but that didn't seem to bother...
 
Last edited: