Jump to content

Factory Restore Tool


Recommended Posts

  • Replies 171
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Please note, this is not an official FxTec tool.  It is my own creation.  FxTec should not be expected to support this tool or any damage caused by its use.   This tool will allow you to res

Okay all, I finally found some time to look at this some more.  As it turns out, the xbl partitions are not actually being written by the current package due to a bug in the programming instructions. 

Nope, I won't send him a bill, he got the refund as requested. 🙂 It's working, so I'm fine. I'll also offer unbrick-services in my shop, probably free for users who bought from me and everyo

Posted Images

12 minutes ago, devyl said:

maybe the partition table needs a reset? *just thinking*

The package contains everything. Literally everything, on the device flash, except a couple items like the factory radio tuning and such. It even writes the GPTs (six of them, one for each logical disk that Android sees).

 

You can try the full package when I post it, but this seems to be a more fundamental problem. How did your device get bricked?

 

  • Like 1
Link to post
Share on other sites
Just now, devyl said:

i formated /dev/sdb (the whole one, not sdb1) within the sailfish os settings application in storage. nothing more or less. 😞

Okay that helps. Let me investigate a bit and see what is on /dev/sdb. Let's hope no radio configuration lives there.

 

  • Like 2
Link to post
Share on other sites

Okay ... according to the device I have here ...

 

[email protected]:/ # ls -l /dev/block/by-name/ | grep sdb                                               
lrwxrwxrwx 1 root root 15 1970-02-09 03:12 xbl_a -> /dev/block/sdb1
[email protected]:/ # 

 

So /dev/sdb contains xbl_a and nothing else.  This is the second stage boot loader for slot a.  So you did not overwrite anything that cannot be easily replaced.

 

But xbl_a should have been flashed by the package that I sent to you, and that should have allowed you to get to the "upper" boot loader ("abl", or fastboot).  Can you confirm that you saw the progress bar advancing slowly(ish) and below the bar it showed various partitions that it was flashing, eg. "flashing xbl.elf to xbl_a"?

 

 

EDIT: The partition tables are flashed last.  I assume you waited until it was done to reboot the device...

 

Edited by tdm
  • Like 2
Link to post
Share on other sites

yes, progress bar advancing slowly and below the bar it showed various partition writing messages (but nothing with xbl... something link abl.elf).

 

edit: it never reboots really.. the tool says it is save to remove the phone. i do nothing, wait... but nothing is shown on the screen. if i replug it, the device gets detected again.

Edited by devyl
Link to post
Share on other sites
3 hours ago, devyl said:

yes, progress bar advancing slowly and below the bar it showed various partition writing messages (but nothing with xbl... something link abl.elf).

 

edit: it never reboots really.. the tool says it is save to remove the phone. i do nothing, wait... but nothing is shown on the screen. if i replug it, the device gets detected again.

 

Well, I am looking at the programming files and it shows that it's writing both xbl_a and xbl_b from xbl.elf.  So that part should be good.

 

The files themselves should be good, I have flashed my device with these bits on multiple occasions.

 

So I am a bit confused why this isn't getting you to the bootloader.  You should at least get a splash screen no matter whether you hold the volume key or not.

 

I've updated the full firmware package on my website to use the older, working programmer.  The new md5 starts with 6b0... You can try downloading that instead of the smaller test package to see if it works any better for you.  But I don't see why it should, unless I messed something up.  Which is entirely possible.

 

  • Like 2
  • Thanks 1
Link to post
Share on other sites

The Flashing works, but the devices still doesn't make a real reboot - it just stays in EDL-Mode (or something like that; it just gets detected again in the flash tool). Is there any way to reset the state of the device?

Edited by devyl
Link to post
Share on other sites
27 minutes ago, devyl said:

The Flashing works, but the devices still doesn't make a real reboot - it just stays in EDL-Mode (or something like that; it just gets detected again in the flash tool). Is there any way to reset the state of the device?

Hard reboot is done by holding the power button down for about 10 to 15 seconds. But I suspect that won't work either.

 

I can make a package for the 20191203 build, perhaps that might work?

 

Edited by tdm
  • Like 2
Link to post
Share on other sites
6 hours ago, devyl said:

Sorry i can't. i returned the device to the shop...

Wait, what?!?  What shop?  Where you bought it?  As in you returned it and are done with it for good, or is this just temporary?  I hope it's temporary as @tdm was/is working diligently to get this corrected for you, and the solution might very well help everyone.

@tdm I have been watching and reading this issue with interest, as always thanks for all your support!

  • Like 2
  • Thanks 2
Link to post
Share on other sites
20 hours ago, Polaris said:

Wait, what?!?  What shop?  Where you bought it?  As in you returned it and are done with it for good, or is this just temporary?  I hope it's temporary as @tdm was/is working diligently to get this corrected for you, and the solution might very well help everyone.

@tdm I have been watching and reading this issue with interest, as always thanks for all your support!

 

I'd like to expand on this a bit.

 

If you screw up your device then you are responsible for fixing it.  Returning the device to the retailer is bad for several reasons: (1) you screwed up and you are making someone else eat the cost of your mistake which is not cool. (2) the retailer has less incentive to stock the device (and any non-mainstream device generally) because they are seen as less reliable and thus less profitable. (3) the reputation of FxTec suffers.

 

So resist the temptation to take the device back and claim that it "just stopped working".  Not only is it untruthful, we have a unique tool here that can restore your device to a factory clean state.  The vast majority of people will never have this type of tool for their devices.

 

Consider yourself fortunate and don't screw it up for everyone.

 

[Soapbox mode off]

 

  • Like 4
  • Thanks 2
Link to post
Share on other sites
13 minutes ago, tdm said:

If you screw up your device then you are responsible for fixing it.

I agree. The situation is not seemed to be unfixable or really hard to be fixable.

Sending back for guarantee is not a good decision.

Maybe selling the device is or to find a service person who has more patience or skills to do the well-described steps.
...but doing this while somebody is trying to help and definitively not stuck somewhere is also not a good decision...

  • Like 3
  • Thanks 1
Link to post
Share on other sites
Posted (edited)

Oh, and just so everyone knows...

 

This tool and the linked factory packages are meant to do a "normal" factory restore. It does not, by design, reset every single bit that the factory programs. For example, it will not reset the frp partition which contains the boot loader lock flag and the Android factory reset allowed flag. Nor will it reset the radio parameters. Etc.

 

I wrote this tool and I have full access to the underlying capabilities of the programmer. If a normal factory reset does not work, I can generate packages to read and write every single bit on the flash chip.

 

With EDL, you quite literally cannot brick or otherwise break this device in a way that cannot be fixed.

 

 

Edited by tdm
  • Like 5
  • Thanks 2
Link to post
Share on other sites
5 hours ago, tdm said:

If you screw up your device then you are responsible for fixing it.

...we have a unique tool here that can restore your device to a factory clean state.  The vast majority of people will never have this type of tool for their devices.

Agreed and agreed!  Having a tool like this is a huge plus and something worthy of much gratitude.

 

4 hours ago, tdm said:

With EDL, you quite literally cannot brick or otherwise break this device in a way that cannot be fixed.

Fantastic!  What a bonus!

Edited by Polaris
  • Like 3
Link to post
Share on other sites
5 hours ago, tdm said:

With EDL, you quite literally cannot brick or otherwise break this device in a way that cannot be fixed.

About that... Can we always get into EDL mode without disassembling the device and if not, how deep do we have to dig in trainwreck scenarios? Or do you just need a special cable in such cases?

  • Like 2
Link to post
Share on other sites
15 minutes ago, netman said:

About that... Can we always get into EDL mode without disassembling the device and if not, how deep do we have to dig in trainwreck scenarios? Or do you just need a special cable in such cases?

My web page answers that, mostly. There are situations where the device must be disassembled to enter EDL, but they are exceedingly rare. Almost always either the PBL will fail to load XBL and panic to EDL (this is what devyl 's device did), or XBL will load and check for the data short on the USB connector that the EDL cable provides.

 

So really you only need to disassemble the device if XBL is functional enough for PBL to load but not functional enough to make it to the USB check.

 

 

  • Like 3
  • Thanks 1
Link to post
Share on other sites
4 minutes ago, tdm said:

My web page answers that, mostly. There are situations where the device must be disassembled to enter EDL, but they are exceedingly rare. Almost always either the PBL will fail to load XBL and panic to EDL (this is what devyl 's device did), or XBL will load and check for the data short on the USB connector that the EDL cable provides.

 

So really you only need to disassemble the device if XBL is functional enough for PBL to load but not functional enough to make it to the USB check.

This is pretty awesome :-).

  • Like 1
Link to post
Share on other sites
On 12/30/2019 at 11:04 AM, tdm said:

@devyl @Craig here is a package that has the "old" programmer that works with my prototype phone.  I've excluded system, vendor, and userdata partitions from the package to make it smaller (77mb vs 1.5gb).  Please let me know if it works.  If it succeeds, you should be able to get to the bootloader and then flash system and vendor using fastboot.

 

QX1000_user_20191028_oldfirehose_base.qfp

 

 

The link is dead, at least for me. 

  • Thanks 1
Link to post
Share on other sites
3 hours ago, Craig said:

The link is dead, at least for me. 

Yes the old firehose was verified to work. I updated the main package. Please download a fresh copy and it should work.

 

  • Thanks 2
Link to post
Share on other sites
4 hours ago, tdm said:

Yes the old firehose was verified to work. I updated the main package. Please download a fresh copy and it should work.

The file permissions aren't set for us to be able to see/download the file.  The only visible files are two .html files.

Link to post
Share on other sites
4 hours ago, Polaris said:

The file permissions aren't set for us to be able to see/download the file.  The only visible files are two .html files.

 

I'm a bit confused.  I just downloaded the 20191028 file successfully.

 

The index links to the LineageOS page and the Factory Restore page.  But if you followed the link in the OP of this thread you should land on the Factory Restore page directly.  The links for all the restore files are there and should be working.

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Terms