yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Q&A, Help & Troubleshooting] aditya.addi:
Ok whatever..... actually i mean to a fix of hard brick moto xt1580

Anyway thanks
[X Style (Pure) Q&A, Help & Troubleshooting] dollarbr:
I'm sorry if i sounded rude, i was just explaining.

You need to ask someone who own a working xt1580 to dump a file with this command:

dd if=/dev/block/mmcblk0 of=/sdcard/Loader.img bs=1024 count=168960

the file generated in sdcard is the loader.img you need to recover your phone
[X Style (Pure) Q&A, Help & Troubleshooting] aditya.addi:
Thanks dollarbr!

Only one doubt, do I need to run exactly the same command or to edit=> count=168960 ?

Your reply is very important to us. Pls help us
[X Style (Pure) Q&A, Help & Troubleshooting] StankFiss:
exact command through phone terminal

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------

To Make A Loader.img File By Yourself;

1. Get an SD Card. 8GB or 16GB. (16GB and a first class grade SD Card is recommended).

2. Get your device exact variant. Alternatively, you may Google Search maybe you'll find an already made Moto Z Play Loader.img file to download.

3. Root the device and install Terminal Emulator on the device.

4. Download, install and run BusyBox on the device. Make sure busybox scripts are properly installed.

5. Now, Open/Launch Terminal Emulator. On it type: su

and tap/hit enter key. A prompt box should display asking for Root Permission. Grant it.

6. Still on Terminal Emulator type;

Copy All Code

dd if=/dev/block/mmcblk0 of=/sdcard/Loader.img bs=1024 count=168960

and tap/hit the enter key.

7. Hold on for few minutes. When the process is completed on Terminal Emulator using your phone's File Manager, go to the Root Directory of your SD Card, a file name Loader.img should now be there.

8. Copy the Loader.img file to your PC and proceed from there.
[X Style (Pure) Q&A, Help & Troubleshooting] dollarbr:
Yeah, that's the right command, no editing it, copy and paste in the terminal on a working xt1580 :)
[X Style (Pure) Q&A, Help & Troubleshooting] aditya.addi:
Hey dollarbr! Thanks a lot I successfully manage the loader.img with the great help of some amazing people of Brazil.

But the plm is when I burn this loader.img file to my microSD class 10 32gb card, and insert nothing happened.

I doubt that your moto x style loader have .bin extension but for I have .img file. Do I need to .bin file to burn instead of . Img?

If yes pls guide me bro how can I convert it to .Bin

Thanks
[X Style (Pure) Q&A, Help & Troubleshooting] dollarbr:
Nope, you'll burn the loader.img to an sd card, no .bin file, after that just connect to the PC with the sd card placed and force restart, it'll start the fastboot screen
[X Style (Pure) Q&A, Help & Troubleshooting] Passerati:
Can you share this Loader.img for an XT1580? My RETEU XT1580 is bricked and in the 9008-mode, too. Thanks a lot!
[X Style (Pure) Q&A, Help & Troubleshooting] MaxiStyleX:
Hello, I would like to know with me it does not work.

I did all the right step by step and it did not work out.

when I do the procedure to save the image, nothing appears on my SDcard, it looks like it was empty, but the image has 32GB.

I put the SDcard in the Motox style and tried every way to connect it in festboot mode but nothing worked.

Can someone help me?
[X Style (Pure) Q&A, Help & Troubleshooting] aditya.addi:
Here the link but it didn't work for me. Try once if work then kindly inform me

https://drive.google.com/file/d/1KC0nhQqE6XG2jkCrlkGcqkEuLVvxXeUt/view?usp=drivesdk
[X Style (Pure) Q&A, Help & Troubleshooting] Passerati:
Thanks a lot! Unfortunately, this does not work for me, too.
[X Style (Pure) Q&A, Help & Troubleshooting] aditya.addi:
Hi friends!

We dumped the rom using command for noto x force also known as Droid Turbo 2 (xt1580)

dd if=/dev/block/mmcblk0 of=/sdcard/Loader.img bs=1024 count=168960

But when we insert the micro SD card after burning loader.img file. Nothing happens! Any idea? Wehere we are doing wrong
[X Style (Pure) Q&A, Help & Troubleshooting] driver969:
You guys are awesome. Thank you OP and everyone else for linking valuable threads to piece the process together. For background, I have a xt1575 that got hard bricked when i went from stock 7.0 to lineage. lineage never got past bootloop so i interrupted it and flashed 6.0. when i accepted the ota my phone went black and couldnt be powered on or enter bootloader.

I flashed the loader.img from OP to an sd card, popped it in, and got bootloader to launch like normal. i then installed 7.0 image from here https://xdaforums.com/moto-x-style/general/xt1575-moto-x-pure-edition-factory-t3704142

the one issue i had was that it installed the OS on the card, so if i took the card out id have the same issue as others where it wouldnt work without being inserted. i decided to go back to bootloader, and once bootloader appeared i popped the sd card out. bootloader still worked and phone was still recognizable on my pc so i reinstalled stock 7.0 properly. voila.

Thank you all so much. I gave up when i bricked it and got a galaxy s8 but still wanted this thing to serve as a functional backup phone instead of my nexus 4 ;)

Cheers.
[X Style (Pure) Q&A, Help & Troubleshooting] abyss1190:
What about guys, I have problems with the fastboot, since my pc does not recognize my moto x pure edition xt1575. I burn the image on the 16gb SD with DiskImage, connect the phone to the PC by pressing and holding Vol-, I can hear the recognition sounds, but on my pc it says "the usb is not recognized". The first time I did it worked and I was able to load the FW 7.0 CLARK_RETUS_7.0_NPH25.200, but when I removed the SD my smart phone was bricked again. Sorry for the mess, I'm using the Google translator.

PD: I install everything, Motorola drive manager, Qualcomm drives, Burned the Loader, but the phone still does not turn on, just vibrates and I hear sounds on the pc.

I do not know what to do anymore, if I think about buying another phone, since this was a gift.
[X Style (Pure) Q&A, Help & Troubleshooting] driver969:
Do this:

1) insert SD card into phone

2) boot into bootloader

3) remove SD card

4) flash firmware

This will install on the phone internal storage because the sd card is missing.
[X Style (Pure) Q&A, Help & Troubleshooting] abyss1190:
Another problem

Now I have another problem after getting to charge the battery on a moto g2, only start to have the load to more than 80%, but only start from the SD I can not load the bootloader or make it enter fastboot. inside the storage shows "Moto x 64gb, 1.6gb used of 54gb and (in system storage SO ANDROID UNKNOW)

After removing SD with the phone off, it does not give a signal of life again and when connecting it to the PC it no longer recognizes it as QS_QSUSB .. it only says "the device is not recognized"
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Burning the Loader.img

Will a 8GB card do too?

How can you tell if the SD card is correctly 'burned'?

I tried it yesterday and at the end, like 20 partitions popped up my screen and I had al kinds of errors and format questions?
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
Dear Dollar! Please tell me the specific name of that OTA update, where did you get the gpt file for flashing?
[X Style (Pure) Q&A, Help & Troubleshooting] dollarbr:
Hi [MENTION=3168979]Bekzhan[/MENTION], the OTA i refer myself is the AndroidN_OTA_25.11.15_ZIP-CLARK_MOTOXPURE.zip (this is for Moto X Style - XT1572, don't know if it works for other models)

WARNINGS:

Flashing Android MM and using "<adb sideload file.zip> to update the phone DO DOWNGRADES the gpt partition.

fastboot/mfastboot and RSD method's does not have the capability flash older versions of gpt file, only the same or newer is possible with them.

Any full stock file has a gpt.bin file to flash through fastboot/mfastboot method

---------- Post added at 13:14 ---------- Previous post was at 13:05 ----------

For those of you who are trying to get help from me, sorry for the delay in answering, I'm with no free time lately (mainly because it's end of the year), but be patience... i'll try my best to help you all
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Sorry for asking it again but does the card really need to be 32GB. With a 16GB Emtec Class 10, the phone stays dead.
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
Emergency SD card

Hello Murugan78

I have two computers with two independent Windows OS, four in total. But only one Windows managed to create this SD without this cascade of pop-up windows, each requiring molding. So, SD - 16GB, formatted slowly in NTFS. The "Loader" file was installed on the CD via "DiskImageRev2". The result is that my phone is loaded exactly in ten seconds into the bootloader without connecting to the PC while simultaneously pressing the "volume +" and "power" buttons. When installing with the subsequent emergence of multiple windows, my phone could not boot to bootloader. I hope this was useful!

---------- Post added 20th December 2017 at 12:16 AM ---------- Previous post was 19th December 2017 at 11:57 PM ----------

I ask for help with EU XT-1572?!

- Very happy for you!

- Alas, this is just my case! After flashing the first OTA (Blur_Version.24.221.5.clark_reteu.reteu.en.EU) on 6.0.1 I receive the following message: "Error in /sideload/package.zip (status 7)"! I used different OTA file downloads, different ports, computers, WinOS, branded cables from Motorola and Nokia:eek::eek::eek:. I ask for help?!
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Gonna try it out again on my 2 laptops...pffff...so the cascade is not normal?

EDIT: I read somewhere that the SD card needs to be the size of the memory of the phone. Is this correct because then I would need a 32GB card?

So far I tried it on my main desktop and laptop, both running W10 pro. My old W7 laptop refused to boot yesterday so I need to look into that.

Any recommendations for the OS?
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
- Falseness. This statement is refuted by my positive experience! The memory of my phone is 32GB, and the SD card is 16GB.

- Perhaps this or this will help you.
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Tried with a 32gb USB stick today. Does this seem right or not?
[X Style (Pure) Q&A, Help & Troubleshooting] dirct:
Hello, after 3 months I got the XT1572 to start, the process of this topic never worked for me using Windows 10 to write the file loader.img, today I decided to install a virtual machine because I do not have another PC at home, in the virtual machine I installed Windows 7 and then using the virtual machine with Windows 7 I recorded the loader.img on the 16gb class 10 card and then holding on and volume less the XT1572 started immediately, the conclusion is that the PC where the process of recording the image on SD card is vital to success.

My X1572 started in Bootloader but without me doing anything came out this way and started the android alone, the android is still the 6.0 when it gave hardbrick when I received a security update, I logged into storage and the "operating system" tab is like " unknown "on the storage tab is as" corrupted SD card ".

I want to install LineageOS what would be the next step?
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
I got my old laptop and running again with a fresh install of W7

The first attempt of burning the loader was a success! W10 was not an option for me it seems.

Anyway, put the card in and hold power + vol down for like a minute and POP, the Style has awaken. The battery was low so I decided to let it charge before trying anything funny but a few minutes ago it booted without doing anything and my apps are updating as we speak! Current version is 6.01. There is a system update for Nougat but I think I pass hehe. Probably will brick it again no?

When the phone is fully charged, I'm going to try and see if it boots without the SD card. Otherwise I will need to flash the RETLA file (that link seems to be down btw??)

If I am feeling really adventurous and the phone keeps working on 6.01 when I remove the SD card, I might try updating to Nougat with Blur_Version **** files as somebody did here with success.

Otherwise I might wait for stock EU N ROM if it ever comes available?
[X Style (Pure) Q&A, Help & Troubleshooting] dirct:
After my XT1572 came back to life with android 6.0 I decided to install the nougat rom 7.0 of this thread and I had more work.

I installed the Nougat ROM using the fastboot commands with the XT1572 in bootloader and connected with the USB to the PC and everything happened "perfectly", the problems began when I removed the sd card of the XT1572 and it returned to the state of hardbrick, then realized that the rom nougat had been installed on the SD card and without it the phone would not work.

Then I repeated the whole process again to write the file loader.img on the SD card and again start the XT1572 in bootloader, then I followed the instructions I saw here, with the XT1572 in bootloader and connected to the PC I removed the SD card and it continued in the bootloader mode normally, then with the XT1572 in bootloader mode and without the SD card I made the fastboot commands and installed the rom nougat normally and this time yes the rom was installed correctly in the internal memory of the device.
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Is there another link to the RETLA firmware, the one is the thread is no longer valid it seems. I found XT1572_CLARK_RETLA_7.0_NPH25.200-15_cid12_subsidy-DEFAULT_CFC.xml but this only has 9 sparsechunks and in the first post, the TS mentions 10. [MENTION=8713516]dirct[/MENTION]:where are u from?

I ask it because I am in Europe so I want to know if I need to do something extra when the LA firmware is flashed? Can it be used here "as-is" or do you need to flash modem files from a MM EU firmware?
[X Style (Pure) Q&A, Help & Troubleshooting] dirct:
Hello Murugan78, I downloaded this nougat rom that is in the post already a few months ago, even when my XT1572 was dead I kept this rom saved because I wanted to be prepared if the XT1572 came back to life and yes the rom has 10 sparsechunks.

I'm from Brazil so I did not need to have the concerns that you're having because the people who created this post and uploaded the rom are Brazilian so I knew it would work for me without problem.

Regarding the modems of this rom I do not know how they will work in Europe so I can not give this information, what I can say is that modems can be flashed apart from any rom so I think even if the modem of this rom did not work in europe you could make the flash of a modem a European rom later.
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
Thanks, but neither this OTA nor the others this file (gpt.bin) can not boot. I tried and zip the archive and just gpt.bin - wrote to me: footer is wrong signature verification failed! I did everything through <adb sideload file.zip>.

I'm desperate, I ask for help!

Motorola Moto X XT-1572EU
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
As expected, the LA N-rom from this thread (found a link in the Google+ community), worked fine but my sim was not recognised so I didn't bother flashing another modem.

So I flashed the latest 6.01 EU-ROM I could find and my SIM card was recognised. When getting some OTA MM updates, it got bricked again. Any idea how this is possible?

Repeated all the same stuff again so today I'm again on the latest 6.01 firmware but without the OTA MM updates.

Is there a difference with flashing these OTA files instead of downloading on the phone itself?

These is somebody here that flashed the OTA files and got to Nougat.
[X Style (Pure) Q&A, Help & Troubleshooting] verunks:
my moto x style is detected as qualcomm qdloader but I can't get into fastboot, also the screen doesn't turn on at all is this normal?
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
No. This is not the norm! Describe your actions.
[X Style (Pure) Q&A, Help & Troubleshooting] verunks:
ok so I was rooted with 6.0 and I went back to stock by flashing a stock image with fastboot, after that I did all the ota updates to the latest nougat, then I wanted to try some roms but I didn't like the way ambient display worked compared to moto active display but to install those roms I had to downgrade the modem to 6.0 and I forgot to backup the 7.0 modem, so I decided to reflash the 6.0 stock image and redo the ota updates but I totally forgot that it would downgrade the bootloader

so at that point I see a black screen after the update and I try to connect it to my computer and I see that it's recognized as a qualcomm 9008 device, if I connect it to the computer without pressing any buttons windows can't recognize it

if I hold down the volume down button while connecting the usb cable it is recognized as a qualcomm device

but the screen hasn't turned on since the failed ota update

when it's connected as qualcomm device it's only pulling 2ma so I don't even know if it's charging
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
But you can not advance in your attempts to resuscitate the phone, if you do not study the entire topic of this thread of the forum.

Create a bootable flash drive, paying attention to page 14.
[X Style (Pure) Q&A, Help & Troubleshooting] verunks:
yeah sorry I forgot to mention that I did flash the loader.img to the microsd card, I tried two different cards and I tried to flash it with diskimagerev2, rufus, etcher, dd, but nothing at all happens it just goes into the qualcomm 9008 mode and the screen doesn't turn on
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
- - how exactly did you do it and with what result ?! In other words, if you localize your problem, the reason is in the boot flash drive. p / s: The problems of your phone are absolutely the same as mine. However, I was able to boot from a flash drive, which is what I want ...
[X Style (Pure) Q&A, Help & Troubleshooting] verunks:
I used an usb microsd adapter and then flashed the loader img onto the sd from windows, I've also tried with a microsd->sd card adapter and plugged it into a laptop with linux, I've tried with 2 sd card one 8gb class 4 and one 32gb class 10 but I don't think the sd card should really matter anyway

btw I was using the 8gb one before the brick in the phone and it was working

edit:

I've managed to boot it by flashing the img from a windows 7 vm, but where do I get a reteu nougat bootloader?
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
I think we need to wait for Motorola to release the official firmware. Don't know if that will happen soon???

Somewhere in this thread, someone got to nougat flashing ota files with stock recovery.

But wouldn't this brick the Phone again since it was bricked in the first place with dowloading and installing ota updates....ATM mine is running on latest 6.01 without any updates.
[X Style (Pure) Q&A, Help & Troubleshooting] verunks:
I think I've managed to fix it completely, I've flashed XT1572_CLARK_RETEU_6.0.1_MPHS24.107-58-5_cid7_subsidy-DEFAULT_CFC.xml, after that since the bootloader wasn't working I kept the sdcard in and I did all the ota updates.

Now the bootloader is working again without using the sdcard, is there a way to backup the bootloader partition?

edit: I've noticed that the bootloader is actually splitted in several files in the ota updates so it should probably be enough to flash the rpm, sbl1, aboot partitions
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
to verunks:You have a good experience and I'm happy for you! My attempt to repeat your luck did not bring me a positive result. But I will try it again and again ... in the absence of a worthy alternative.
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
Finally my phone is back on N with latest OTA. Thanks all for the help!
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
Congratulations!

Can you provide a detailed description of your actions to restore your phone?!
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
I sure can!

1) Downloaded the Loader.img from the thread. After a lot of failed attempts in W10, I got a good burn using W7 + diskimagerev and my 16GB Emtec class 10 card. I checked if the burn was good using partitionguru or mini partitiontool. It should look like the one in post 45 on page 5 of this thread. Once, I even had a bad burn in W7 (had bricked my phone again lol), so check it in one of these programs

2) Plugged the phone in an outlet and insert the SD card. Hold vol down and power for like 30 seconds and it booted.

Removed the SD card

3) I let the phone charge to be sure and then I plugged it into my W10 PC (Motorola drivers + ADB drivers installed)

4) Opened Minimal ADB & Fastboot program. Fastboot devices to check if it was still recognised

5) flashed the ROM mentioned in the first post (had to look for another link because the one in the thread is down)

6) flashed the latest EU 6.01 firmware I could find except gpt and partition (no downgrade possible). I bricked my phone again doing OTA MM updates so I had to redo all the steps again. DOH!!!

7) flashed the files from these 2 links (N modem is in the second link.Downloading takes a while too). I got an error-like message at first when flashing the system.img but it flashed the 8 parts without problems. With these files,maybe you can skip step 5 and 6 since I found this link when I already was on MM. If you bricked it with downgrade from a N rom,you should be able to do this.

https://xdaforums.com/moto-x-style/general/stock-xt-1572-reteu-7-0-ddumped-files-t3712521

8) rebooted the phone and took the latest OTA.

9) tested with my SIM card, wifi works. Didn't check mobile data and BT yet but I don't expect issues there. Still need to test if it boots without my SD card because I forgot to take it out when I did my last flash.

10) flashed the Motorola N logo to hide the bootloader unlocked message :p (

Hope this helps you!
[X Style (Pure) Q&A, Help & Troubleshooting] Adnandroid:
My device is XT1572 it is unlocked. I was clean installing the stock os 6.0 and then i got an update 0f around 44MB after downloading it was installing the update and suddenly it turned off.. Tried everything.. When connected to pc it shows as qualcomm hs-usb exactly as the name of the post.. I don't have time so i gave it to one of the service center.. They haven't said any cost of repairing.. Expected cost of repairing to debrick moto x style in india ?
[X Style (Pure) Q&A, Help & Troubleshooting] Murugan78:
I don't know about your schedule and free time, but this can be done in like 30-45'. This will cost you nothing...
[X Style (Pure) Q&A, Help & Troubleshooting] obs3rv:
Dang. I had this problem (downgrade to MM after Nougat and bricked after OTAs) at the end of September. I ended up selling my XT1572 for parts literally two days before the OP. Had I held on for a couple days more I could've recovered it. (FWIW I knew about this technique from the fact that the LG G4, similar hardware, had a well-known route to recovery by writing the ROM image to a 32 GB microSD card. But at that time no loader/programmer was available for the Moto X Style.)

Oh well. Live and learn.
[X Style (Pure) Q&A, Help & Troubleshooting] Bekzhan:
- A good instruction, but please clarify: between points 5) and 6) is it necessary to let the phone reboot, and if so, with or without the SD card installed? I have 7-th not started without SD? Or are you flashing 7-LA and then immediately 6.0.1.EU from under the bootloader without overloading and without SD?