yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) General] Thomas_BA:
I tried a couple of things but at the end i think it worked by flashing the entire EU 6.0.1 ROM and than I flashed also via fastboot the "fsg.mbn" from the LATAM 6.0 Rom. Clean cash and Dalvik.

That did the trick.

Download the fsg.mbn, its from the Agentinien ROM, but its the same as Retail LATAM

http://www115.zippyshare.com/v/BXHeqrOv/file.html
[X Style (Pure) General] ChaoticKnight:
Thanks, I had to experiment more, but I got it working with your help.

For future reference what I did was:

1.- Flash the 6.0.1 EU ROM.

2.-Flash the modem from 6.0 stock and fsg.mbn provided by Thomas.

3.- Flash the EU modem again and everything will work.

Thanks again.
[X Style (Pure) General] Thomas_BA:
Glad it worked for you.

What I am missing in the EU Rom is the Moto Voice TTS engine. I had it in the Latam Rom.
[X Style (Pure) General] xxhunterxx11:
My bootloader is already unlocked and twrp is already installed. Should i just follow step 1, 4 and 5?
[X Style (Pure) General] BooBzi:
I am not sure what you are trying to do.

This tutorial shows how to install stock version of Android on your device, and if needed, optional, unlock bootloader again, install TWRP, SuperSU, and Xposed.

So if you are trying to install stock version of Android on your device, follow step 1, if you doing so, you choose to not lock bootloader, then you can ignore step 2, but if you want TWRP, SuperSU, Xposed, then you need to follow all this steps again, because you will have stock recovery, after performing step 1!
[X Style (Pure) General] xxhunterxx11:
oh, my bad i misunderstood. thanks for clearing that up!
[X Style (Pure) General] Yemble:
I can confirm that this build image works great, after a little messing about with the "mfastboot flash modem NON-HLOS.bin" command which fails when it is run as part of the full install script. WiFi and SIM detection fail until NON-HLOS.bin has been successfully flashed, which it can be on its own, subsequently, from a cold start. Note that in the UK, if the OS is brought up without a SIM present, then WiFi channels above 11 will NOT be available on 2.4GHz. Re-flashing NON-HLOS.bin and then bringing the OS up with a SIM present will fix this the first time that the phone successfully connects to the 2.4GHz WiFi network. It helps to have an AP available configured on a lower 2.4GHz channel to assist with this "chicken and egg" scenario.

Ref. https://xdaforums.com/google-nexus-5/help/wifi-channel-13-t2509384

I used the procedure from Post #1 (excluding the Xposed stuff) to successfully upgrade a brand new XT1572 from Lollipop 5.1 to Marshmallow 6.01-Sep.

Question...

I have a couple of other XT1572 phones running Marshmallow 6.01-Mar. Is there any (simple) way to use this build image to upgrade them to Marshmallow 6.01-Sep, without affecting any of the installed apps? Perhaps a dirty flash via TWRP, if that is feasible?
[X Style (Pure) General] Prazaar:
Flash script beta(only unlock devices) have option to update without wipe data. or use ota files on dl.prazaar.de

Gesendet von meinem XT1572 mit Tapatalk
[X Style (Pure) General] Yemble:
Before flashing the OTA file, do I need to remove SU and/or TWRP first?

I tried applying each OTA ZIP using FlashFire, but although it seemed to go through the motions, none of the updates were actually applied.
[X Style (Pure) General] Prazaar:
No. Stock recovery and pure stock rom

Gesendet von meinem XT1572 mit Tapatalk
[X Style (Pure) General] robuser007:
I installed the normal (non systemless) xposed, can I use an ota update if I do this?:

Remove XPOSED (can be turned off from XPOSED app) + UNROOT (can be done from SUPERSU app)

Flash STOCK recovery file from FASTBOOT (fastboot flash recovery recovery.img);
[X Style (Pure) General] acejavelin:
Maybe... It depends what the installation script checks, we know it's capable of seeing if /system was ever even mounted read/write previously but we don't know everything it checks for sure.

TBH, the minimum would be to restore /system, /boot, and recovery to stock by fastboot or TWRP restore to their stock state although I recommend a clean flash or full restore.
[X Style (Pure) General] Psadim:
Hi thanks for the guide. I faced some issues. My device often freezes in apps and needs reboot. Also screen colours setting isn't working in settings.

I m twrp-rooted-xposed and I have L speed-HEBF-gravity box-viper4android-boot manager-mobile radio active fix-ringer and notification volume unlink--apps/modules.

Does anyone know what causes these issues ;
[X Style (Pure) General] BooBzi:
For colour settings not working is responsible Xposed. I have already talking about it somewhere in this posts, but anyway, I really dont remember with xposed version was causing it, but all new ones are!

What about device freezing - it could be L speed app, I would try restoring all settings back, maybe uninstalling app, or maybe just freezing app at Titanium Backup, to see if it causes freezes!
[X Style (Pure) General] Psadim:
Thanks. I did all the process again and i ll see if its fixed.

Do you know any ways to have dolby atmos and viper 4 android ?

Thanks
[X Style (Pure) General] BooBzi:
No, sorry, I am not using any of sound improvement hacks. - > I am very glad with a sound output on my Moto :p
[X Style (Pure) General] robuser007:
Does anyone know the difference between NON-HLOS.bin from febuari (6.0) and the 6.0.1 build ? File size is different.
[X Style (Pure) General] robbedoes007:
(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

When I flash to stock, I have this error on every single line (but all is succesfull): what's the reason (does it hurt ?) ?
[X Style (Pure) General] acejavelin:
It's normal... the newer fastboot that is compatible with nougat shows that because Nougat devices have 2 software slots. It is just reporting that there is no second slot, nothing to worry about.
[X Style (Pure) General] BooBzi:
NOTE: Just received an update for my Moto X Style - looks like December security patch.
[X Style (Pure) General] Astania:
I've also received this update. Can I flash it over rooted stock with some apps disabled? Will it flash OK or I should unroot first?

Wysłane z mojego SM-T800 przy użyciu Tapatalka
[X Style (Pure) General] acejavelin:
Maybe look at the couple dozen other threads where people have the same question...

You can not take this update... period... it won't work. You can't just unroot or flash stock recovery, you must have a PURE UNTOUCHED boot and system partition with stock recovery. If you have ever used TWRP or other recovery to flash anything, been rooted, had Xposed installed, etc., you cannot take this update as it will fail. Even if you remove Xposed, unroot, and fastboot in stock recovery, the updater script knows you changed something and it will fail.
[X Style (Pure) General] BooBzi:
I am using STOCK. But as you can see OP, I have TWRP and SuperSU on my device.

To take this update. I just made unroot from SuperSU app, and then flashed stock recovery.

Now I have installed latest update and also TWRP and SuperSU are installed back. Check OP again!
[X Style (Pure) General] Andronikou:
I haven't seen that update on my motorola
[X Style (Pure) General] adamkx7xdesire:
I've also received this update and I've tried to revert rom to OTA-able state but with no luck... (got error on stock recovery installing ota)

So is there any safe and working solution to make this update OR disable the notification (not only on statusbar)?
[X Style (Pure) General] hellboyborn:
Thanks man the guide worked great. It got stuck at boot logo, after following the guide now its rocking again.
[X Style (Pure) General] nitrowing:
I'm having problems.

I had a rooted+SU+TWRP+xposed XT1572 and was a happy chap.

A few days ago, the screen turned off and the phone refused to boot.

I only had the original 5.1.1 TWRP backup.

The WiFi refuses to turn on so I can't install the Moto update.

I can't get fastboot flash NON-HLOS.bin to work - "cannot determine image filename for 'NON-HLOS.bin'

Are there any TWRP backups out there?
[X Style (Pure) General] nonperson:
XT1575 TWRP backups here https://xdaforums.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833 will restore to XT1572. I speak from stupid experience. Phone will be misidentified but build.prop fiddling can perhaps set things aright and have you back on the path to happy chappiness.
[X Style (Pure) General] acejavelin:
It's 'fastboot flash modem NON-HLOS.bin'

Remember kernel and radio must match for wifi or mobile data to work.
[X Style (Pure) General] somecro:
Had a Moto X Style with TWRP + Root + Xposed and followed this guide to return to stock.

Everything went smoothly and I'm currently taking OTAs, but I just wanted to say that I had a problem with NON-HLOS.bin

It gave me a Preflash Validation Error the first time I tried to flash it, so I tried it again and it worked the second time. So just pay attention to the command prompt.
[X Style (Pure) General] BooBzi:
I have received nougat on my Moto X Style, but anyway I am not using this device anymore. Got OnePlus 5 in late June. Will not update this thread anymore.
[X Style (Pure) General] dzidexx:
Befere good bye:

Can you edit OP?

4.

Change links to these:

Twrp

https://twrp.me/devices/motorolamotox2015pure.html

SuperSu

Download and install stable:

https://xdaforums.com/apps/supersu
[X Style (Pure) General] BooBzi:
I was trying, but no success. Some administration error. Will recheck again in some days.
[X Style (Pure) General] RSkillz:
Doesn't unchecking the read/only in TWRP break the OTA functionality and what version did you use of SuperSU?
[X Style (Pure) General] BooBzi:
Ou you got lucky! Gratz!
[X Style (Pure) General] agonowiec:
Well but I dont recommend it ;/ I got before big mess and I dont use sd card because i broke me slot

I RECOMEND FOR ANDROID 6.0 MM ROOTING BY TruPureXMM-2.3.3.zip

europe XT1572
[X Style (Pure) General] BooBzi:
Yea, I will agree with you!

It is most easy and fast way.

Also after testing for some days stock 6.0 and TruPureXMM ROM, haven't noticed any battery life differences. Also TruPureXMM is more debloated! That's definitely good thing, because on stock 6.0 I see a lot of unnecessary Moto services running at background!
[X Style (Pure) General] kiradotee:
Flashed twrp-2.8.7.1-clark.img, went to recovery, agreed to read only, installed BETA-SuperSU-v2.66-20160103015024.zip, phone stuck on booting.
[X Style (Pure) General] ddewk:
I have the XT1572 style and have tried flashing every modem I could find. Yet I can't get mobile internet to work. Wi-Fi works, calls work, just not the mobile internet/LTE. I'm in Germany and on MM.

That is a modem issue, right?

Can you help me?
[X Style (Pure) General] kiradotee:
Ok, so I've flashed stock boot and system. Phone now works again.

Reflashed TWRP, it didn't ask me this time about read only, went and installed BETA-SuperSU-v2.62-20151210170034.zip, seems working. I guess newer version isn't always the best version, sadly.
[X Style (Pure) General] BooBzi:
Yea, I was flashing a lot of versions, but 2.62 was the best one!
[X Style (Pure) General] BooBzi:
Did you flash modem from this file? Its stock EU 6.0 firmware.
[X Style (Pure) General] ddewk:
Thank you. Yes. I just tried it again.

First

fastboot flash modem NON-HLOS.bin restart, didn't work.

Then tried

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash modem NON-HLOS.bin restart, no difference.

It still doesn't connect to the mobile Internet. Phone works, Wi-Fi works.

Am I doing something wrong?
[X Style (Pure) General] pancakes565:
It could be an apn issue as well. Make sure your apn is correct for your carrier.
[X Style (Pure) General] ddewk:
I googled the APN infos for my carrier... and it works. Thank you.
[X Style (Pure) General] BooBzi:
Hmm, actually I cant answer that right now. Never had that kind of problem, only when WIFI doesnt work. We should search for answer on other threads. I saw similar problem on one of the threads, but now cant find it.
[X Style (Pure) General] Schrotty35:
WIll this work only with SU 2.62 or can i use the latest 2.66?

Edit: I have test with 2.66 and not booting :( . How can i remove now 2.66?

Edit2: I have reflash boot and System and the phone booting. After this i have flash 2.62 and all working fine with xposed too. I dont know why not work with 2.66??
[X Style (Pure) General] luis.alves@lafaspot.com:
SuperSU 2.62-3

Supersu 2.62-3 on XT1575 with Android 6.0, installed using twrp 2.8.7.1 worked for me.

I tried 2.67 and gets stuck on boot.
[X Style (Pure) General] luansr:
No wifi

I tried to flash stocks modem but without success, actually in some cases the SIM cards were not recognized either.

Please, someone bring me the light of the modem/kernel/whatever I got to do to recover my wifi connection :'(

XT1572 Brazilian DS is my model

I'm now with stock 6.0, frankenclark 0.7.1 kernel and 2.62 supersu root.

Thanks in advance, because I'm reaching my first month strugling with this :crying::crying:
[X Style (Pure) General] BooBzi:
Hey, this thread was more for EU version of this device, I suppose you can try to find some answers here, I noticed some version, so Wifi would work, just take some time ans look at that thread.

I suppose you flashed wrong modem file for your device, just need to find correct.

Good luck!

P.S. If no success, I can suggest to use TruPureXMM ROM from here, it is very good!

EDIT:

I suppose that you should use "For LA DualSIM users" from here, link to file : here. And you should be fine from my tutorial at OP.
[X Style (Pure) General] luansr:
So... I tried, and I tried...

Still nothing. Actually when I flash the "right modem file" which is the one regarding the RETLA_DS stock rom, my device get slower and freezes in something about 5 minutes, but either without WiFi turning on. So I flashed the "MM-Pure-OTA-Modem-Band-12-Fix" that I found somewere here (I have visit around a ton of threads hahaha).

Without success either, no WiFi, but at least no freezing device. I'm taking to a technical assistance to see if is a hardware problem.

Although, if you or somebody else could provide the backup or the .zip of an default /persist folder, I would thank, because I may think that could be in there the problem too.

Whatever, don't know what to do, sincerely.

Anyways, thank you for the support. I'm taking the leap of faith on installing the TruPureXMM ROM flashing the rom that don't freezes my device and taking to see if isn't hardware.

Best regards!
[X Style (Pure) General] BooBzi:
Sorry, I dont have default backup files.

I am on TruPureXMM right now, like it, because it works!
[X Style (Pure) General] luansr:
Great. Thank you either way Boobzi, I tried the TrupureXMM but when I flashed it on TWRP 3 my device do not recognize either the sim cards, even when I flash the current modem file that i'm using right now... It's very annoying
[X Style (Pure) General] BooBzi:
Hmm, thats very strange. I really dont know what we can do for it. You could try to ask at TruPure thread, I suppose there is someone with same problem as you.

Good luck!
[X Style (Pure) General] BooBzi:
Yesterday I went step by step my guide again. Successfully went back to STOCK Android 6.0, also received update to security patch for February.

After installing all apps, I noticed that battery life is better then TruPureXMM ROM. Maybe its because of stock kernel too.

I updated some points of my guide on first page and now will try to find all battery draining services for me.
[X Style (Pure) General] MasterThiefGarrett:
system.img_sparsechunk.9 is not in the .zip so you may skip that flashing step ;)
[X Style (Pure) General] BooBzi:
Yea that is right!
[X Style (Pure) General] BooBzi:
If someone is interested in testing, then 6.0.1 EU is up right now from here.

Prazaar shared this file on this thread.

I am downloading this right now, and later will try to flash.
[X Style (Pure) General] Pedro Liberal:
In my nexus, I can access TWRP without install o root.. there is a way to do this in Style? I want to access build.prop as I do in my nexus!!

Thanks!
[X Style (Pure) General] BooBzi:
If I correctly understand your question - then it is possible to install TWRP recovery firstly, and ignore supersu (root) option. So you will have TWRP recovery without root.

But if you want to access build.prop, you will need root option, as I know!
[X Style (Pure) General] gautam.malik:
I recommend a change in flashing script for 6.0.1. This is because there are more files in this version of marshmallow than what were in previous.

This is my script, which worked worked perfectly fine and I don even get crash in color profile

fastboot oem lock begin

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash bluetooth BTFM.bin

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem lock
[X Style (Pure) General] Pedro Liberal:
No.. I didn't not installed TWRP in my Nexus. The step was:

1. Reboot in bootloader (adb reboot bootloader)

2. Boot twrp img (fastboot boot twrp,img)

3. Mount system, use adb pull, push and shell, reboot system with new build.prop

No root or warranty lose!
[X Style (Pure) General] BooBzi:
Thanks for advice, but your script contains only:

fastboot flash bluetooth BTFM.bin

fastboot erase customize (optional: will erase any customizations if ordered through motomaker)

fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)

Will add to OP. Thanks again! But this will not help my colour profile bug. I suppose problem is somewhere between root and xposed.

Ou that is very tricky as I see. I have not tried this option, and right now I am testing 6.0.1, so for some time I will not relock bootloader to test this out. Sorry.
[X Style (Pure) General] gautam.malik:
Thanks Boobzi, you are right. I added put them in my script since I donót have customizations
[X Style (Pure) General] Klayer2014:
delete
[X Style (Pure) General] Pedro Liberal:
There is a way to relock bootloader? Cause ?I dont want to unlock to lose warranty... I bought my Style just about 2 days
[X Style (Pure) General] BooBzi:
I am always relocking bootloader to get new OTA, or to update device like this time. I was using custom ROM, and after all commands from OP, I relocked bootloader and installed latest Android.

Btw, after using "fastboot flash bluetooth BTFM.bin"

I noticed more bludroid_timer wakelocks.
[X Style (Pure) General] Pedro Liberal:
So I can unlock with unique code and still have warranty if re-lock? Motorola don't use this system info to now?
[X Style (Pure) General] rafikowy:
I debbuged color profile crash and the reason was Xposed v83. Flash Xposed v82 and everything will be fine. Cheers! :)

Wysłane z mojego XT1572 przy użyciu Tapatalka
[X Style (Pure) General] BooBzi:
Thats good question. I personally live in Latvia, and bought this phone via amazon.de from Germany. So I suppose I will have a lot of problems for warranty. So I rooted phone on first day when I received it.

I suppose if you want to be 100% sure, then dont unlock bootloader !

Ou, thanks for info. Will test it out later.! Thanks again!
[X Style (Pure) General] lafester:
Once unlocked moto will always know. No reason to ever relock.
[X Style (Pure) General] HikingMoose:
Sounds like a waste of time considering you can take OTAs fine with an unocked bootloader. You're welcome!
[X Style (Pure) General] BooBzi:
I suppose that you are wrong, and I will try to show you why!

So how it can be waste of time, If I am always experimenting with custom ROM's and custom KERNEL's, also using XPOSED and root? And I am always testing this new Moto updates. Teach me best way, how can I get this OTA (6.0.1), from custom ROM like - TruPureXMM. I am very curious!

P.S. If you are interested, then after backing up my device with Titanium backup and TWRP, it took me 10-15 minutes to run all commands from OP and successfully boot Android 6.0.1 and start using it. Is was 15 min of my time, it is not waste of time as you think.
[X Style (Pure) General] lafester:
Same as you do now, only skip the re-lock.
[X Style (Pure) General] BooBzi:
Hmm, will try that someday. Then I am very sorry! Thanks!
[X Style (Pure) General] psxmail:
It works fine... :)
[X Style (Pure) General] HikingMoose:
I am absolutely not wrong, I've never relocked to take an update. So you can't say I'm wrong.

Don't worry, I will not help you again.
[X Style (Pure) General] c3drik 67:
Same on my moto x style. Never relock bootloader to take an update. Just unroot, uninstall xposed and uninstall custom recovery.
[X Style (Pure) General] BooBzi:
I am very sorry HikingMoose! I didn't get idea about what you was talking about, so I got it right now. Thanks!
[X Style (Pure) General] HikingMoose:
Ok BooBzi, no problem. I think not relocking will save you time in the future.

I'm still trying to find a way to get 6.0.1 early. I guess I'll try the EU version for the style on my US Pure. Sabissmo's flashable doesn't seem to work for me, he may have changed too many things.
[X Style (Pure) General] BooBzi:
Yea, just dont forget to do backup file. I suppose you can try modem file from 6.0, if you will get some wifi problems on 6.0.1.

After using for couple of days I cant say that there are big improvements from Motorola.

The most positive thing for me is that WiFi reconnects much faster then before, but the biggest negative for me is that there are a lot of "bluedroid_timer" wakelocks. - on 5.1.1 and 6.0 this wakelocks was not noticeable, but on 6.0.1 there are a lot of them.

So try please EU version, and later on feel free to add comment, I am very interested.
[X Style (Pure) General] psxmail:
With 6.01 the root need to be normal or system less with su 2.62 ? No problem after rooting ??
[X Style (Pure) General] BooBzi:
It is your option, I am using 2.62 without problems, from playstore it updates to 2.65.

You can try also systemless root, but I cant help there, never tried it.
[X Style (Pure) General] Prazaar:
Prazaar.de downloads for XT1572 now on http://cloud.prazaar.de/index.php/s/ykERbGxqAVVZ5Kh

Gesendet von meinem XT1572 mit Tapatalk
[X Style (Pure) General] BooBzi:
Thanks, will update links on OP.!
[X Style (Pure) General] Prazaar:
Sorry all dls offline i have problems with my server.. i look for a new one ^^ downloads soon back

Gesendet von meinem XT1572 mit Tapatalk
[X Style (Pure) General] BooBzi:
No worries! Thanks! :D
[X Style (Pure) General] Prazaar:
New Server Online ^^

http://dl.prazaar.de

Happy Flashing ?

Gesendet von meinem XT1572 mit Tapatalk
[X Style (Pure) General] wilu165:
Great, thanks!
[X Style (Pure) General] NEROVINCIO:
I'm just rooted and I have TWRP recovery,is there a twrp flashable version? or someone can made it?
[X Style (Pure) General] BooBzi:
I you are coming from 5.1.1 or 6.0 I would always recommend to clean install 6.0.1, so you will make factory reset, so basically, you can use my tutorial, and install 6.0.1, it will just take more time, before you will start entering commands.

Sorry, I dont have flashable file.
[X Style (Pure) General] NEROVINCIO:
I'm on 6.0, but I'm poor in abd command, for this I asked a flashable version with clean install.

Is there a tool that made all it?